const fetch = require('node-fetch')  
const URL_HOMETAB = 
    "https://mapi.guazi.com/api/hometab/cartabH5?versionId=0.0.0.0&sourceFrom=wap&deviceId=b787c53d-fc22-436c-94d2-7c5a9e07b3f2&osv=ios&pageNumber=1&guazi_city=214&platfromSource=wap";    


const fetchHometab = () => {
    return fetch(URL_HOMETAB)  
        .then(res => res.json())  
        .then(json => json)   
}    
    
module.exports = {
    fetchHometab
}